package com.baizhi.shane.shane.service;

import com.baizhi.shane.shane.entity.ShaneLikesAnswer;
import com.baizhi.shane.shane.vo.AnswerUserRelVO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author wbz12
* @description 针对表【shane_likes_answer(啥呢回答点赞表)】的数据库操作Service
* @createDate 2023-07-25 22:33:37
*/
public interface ShaneLikesAnswerService extends IService<ShaneLikesAnswer> {

    /**
     * 用户点赞回答，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 19:23 2023/10/4
     * @Param answerUserRelVO
     * @return java.lang.String
     **/
    String insertOneAnswerLikes(AnswerUserRelVO answerUserRelVO);

    /**
     * 用户取消点赞回答，只需要questionId即可，userId自动分配为当前用户
     *
     * @Author 闻柏智
     * @Date 19:28 2023/10/4
     * @Param answerUserRelVO
     * @return java.lang.String
     **/
    String deleteOneAnswerLikes(AnswerUserRelVO answerUserRelVO);
}
